import request from '@/utils/request'
export const getzidianlistapi = params => request.get('/core/code/config/dict/list', { params })
export const getshuxinglistapi = params => request.get('/core/code/config/dict/attr/list', { params })
export const postzidianapi = data => request.post('/core/code/config/dict/attr', { ...data, isParams: true })
export const putzidianapi = data => request.post('/core/code/config/dict/attr/put', { ...data, isParams: true })
export const delzidianapi = data => request.post('/core/code/config/dict/attr/delete', { ...data, isParams: true })
export const getshangyiapi = data => request.post('/core/code/config/dict/attr/move-up', { ...data, isParams: true })
export const getxiayiapi = data => request.post('/core/code/config/dict/attr/move-down', { ...data, isParams: true })
